<!DOCTYPE HTML>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="swiper.min.css">
    <link rel="stylesheet" type="text/css" href="effect.css">
    <link rel="stylesheet" type="text/css" href="article.css">
    <link rel="stylesheet" type="text/css" href="contact.css">
    <script src="jquery.min.js"></script>
</head>

<body>
    <?php include "header.php"; ?>
    <div class="banner-container"></div>
    <div class="v-blank-50"></div>
    <div class="swiper-container" id="five-project-container">
        <div class="effect-title">
            <div class="chinese">
                <div class="decoration"></div>
                <div class="text">五大项目效果</div>
                <div class="decoration"></div>
            </div>
            <div class="v-blank-10"></div>
            <div class="english">
                THE 3D HAIRLINE PROJECT
            </div>
        </div>
        <div class="v-blank-30"></div>
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <a href="effect-five-project.php#scs">
                    <img class="img" src="images/effect/scs.png">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="effect-five-project.php#ecm">
                    <img class="img" src="images/effect/ecm.png">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="effect-five-project.php#dcr">
                    <img class="img" src="images/effect/dcr.png">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="effect-five-project.php#dcs">
                    <img class="img" src="images/effect/dcs.png">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="effect-five-project.php#spr">
                    <img class="img" src="images/effect/spr.png">
                </a>
            </div>
        </div>
    </div>
    <div class="v-blank-30"></div>
    <div class="five-project-swiper-subtitle"></div>
    <div class="five-project-swiper-description"></div>
    <div class="pagination-container">
        <div class="v-blank-10"></div>
        <div class="five-project-pagination"></div>
        <div class="v-blank-20"></div>
    </div>
    <div class="common-button">
        <a href="effect-five-project.php">
            <div class="button">
                查看更多
            </div>
        </a>
    </div>
    <div class="v-blank-50"></div>
    <div class="swiper-container" id="mix-effect-container">
        <div class="effect-title">
            <div class="chinese">
                <div class="decoration"></div>
                <div class="text">融合效果</div>
                <div class="decoration"></div>
            </div>
            <div class="v-blank-10"></div>
            <div class="chinese-detail">
                丰盈茂密·仿若原生
            </div>
            <div class="english">
                RICH AND DENSE, AS IF IT WERE ORIGINAL
            </div>
        </div>
        <div class="v-blank-30"></div>
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img class="img" src="images/effect/a.jpg">
            </div>
            <div class="swiper-slide">
                <img class="img" src="images/effect/b.jpg">
            </div>
            <div class="swiper-slide">
                <img class="img" src="images/effect/a.jpg">
            </div>
            <div class="swiper-slide">
                <img class="img" src="images/effect/b.jpg">
            </div>
        </div>
    </div>
    <div class="pagination-container">
        <div class="v-blank-20"></div>
        <div class="mix-effect-pagination"></div>
        <div class="v-blank-20"></div>
    </div>
    <div class="common-button">
        <a href="effect-mix-effect.php">
            <div class="button">
                查看更多
            </div>
        </a>
    </div>
    <div class="v-blank-50"></div>
    <div class="swiper-container" id="hair-line-container">
        <div class="effect-title">
            <div class="chinese">
                <div class="decoration"></div>
                <div class="text">发际线</div>
                <div class="decoration"></div>
            </div>
            <div class="v-blank-10"></div>
            <div class="chinese-detail">
                重归青春·优化脸型
            </div>
            <div class="english">
                RETURN TO YOUTH AND OPTIMIZE FACE SHAPE
            </div>
        </div>
        <div class="v-blank-30"></div>
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img class="img" src="images/effect/c.jpg">
            </div>
            <div class="swiper-slide">
                <img class="img" src="images/effect/d.jpg">
            </div>
            <div class="swiper-slide">
                <img class="img" src="images/effect/c.jpg">
            </div>
            <div class="swiper-slide">
                <img class="img" src="images/effect/d.jpg">
            </div>
        </div>
    </div>
    <div class="pagination-container">
        <div class="v-blank-20"></div>
        <div class="hair-line-pagination"></div>
        <div class="v-blank-20"></div>
    </div>
    <div class="common-button">
        <a href="effect-hair-line.php">
            <div class="button">
                查看更多
            </div>
        </a>
    </div>
    <div class="v-blank-50"></div>
    <script src="swiper.min.js"></script>
    <?php include "article.php"; ?>
    <div class="v-blank-50"></div>
    <?php include "contact.php"; ?>
    <?php include "footer.php"; ?>
    <script>
        var fiveProjectSubtitle = [
            "SCS-植发修复",
            "ECM-稀疏加密",
            "DCR-自然呈现",
            "DCS-乌黑浓密",
            "SPR-纹发修复"
        ]

        var fiveProjectDescription = [
            "修复植发效果，完美覆盖疤痕。",
            "自然浓密、高度融合、男女通适。",
            "适合大龄、效果逼真、掩饰白发。",
            "丰盈浓密、修饰肤色、年龄偏小。",
            "优化纹发效果，营造真实视觉。"
        ]

        var fiveProjectSwiper = new Swiper('#five-project-container', {
            slidesPerView: 3,
            spaceBetween: 20,
            centeredSlides: true,
            loop: true,
            centeredSlides: true,
            pagination: {
                el: '.five-project-pagination',
            },
            on: {
                slideChangeTransitionStart: function() {
                    console.log(this.activeIndex)
                    var a = (this.activeIndex - 3) % 5;
                    $(".five-project-swiper-subtitle").text(fiveProjectSubtitle[a])
                    $(".five-project-swiper-description").text(fiveProjectDescription[a])
                },
            },
        });
        var mixEffectSwiper = new Swiper('#mix-effect-container', {
            slidesPerView: 3,
            spaceBetween: 20,
            centeredSlides: true,
            loop: true,
            centeredSlides: true,
            pagination: {
                el: '.mix-effect-pagination',
            },
        });
        var hairLineSwiper = new Swiper('#hair-line-container', {
            slidesPerView: 3,
            spaceBetween: 20,
            centeredSlides: true,
            loop: true,
            centeredSlides: true,
            pagination: {
                el: '.hair-line-pagination',
            },
        });
    </script>
</body>

</html>